package org.jimmy.tang.designpattern.creation.abstractfactory;

/**
 * @author jimmy
 * 
 */
public class BlackAnimalFactory implements IAnimalFactory {

    /* (non-Javadoc)
     * @see org.jimmy.tang.designpattern.creation.abstractfactory.IAnimalFactory#createCat()
     */
    @Override
    public ICat createCat() {
        return new BlackCat();
    }

    /* (non-Javadoc)
     * @see org.jimmy.tang.designpattern.creation.abstractfactory.IAnimalFactory#createDog()
     */
    @Override
    public IDog createDog() {
        return new BlackDog();
    }
}
